package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生记上课对象 teaching_student_record
 *
 * @author ruoyi
 * @date 2022-10-20
 */
public class TeachingStudentRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记上课ID
     */
    private Long recordId;

    /**
     * 排课ID
     */
    private Long scheduleId;

    /**
     * 班级记录ID
     */
    private Long claRecordId;


    /**
     * 班级学员ID
     */
    @Excel(name = "班级学员ID")
    private Long classStudentId;

    /**
     * 报课ID
     */
    @Excel(name = "报课ID")
    private Long applyId;

    /**
     * 班级ID
     */
    @Excel(name = "班级ID")
    private Long classId;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    private String studentName;

    /**
     * 班级名称
     */
    @Excel(name = "班级名称")
    private String className;

    /**
     * 扣除课时
     */
    @Excel(name = "扣除课时")
    private Long lessonConsume;

    /**
     * 请假次数
     */
    @Excel(name = "请假次数")
    private Long leaveCount;

    /**
     * 到勤人数
     */
    @Excel(name = "到勤人数")
    private Long attendCount;

    /**
     * 到课状态(0 到课 1请假 2旷课)
     */
    @Excel(name = "到课状态(0 到课 1请假 2旷课)")
    private String attendStatus;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String delFlag;

    /**
     * 创建者ID
     */
    @Excel(name = "创建者ID")
    private Long createId;

    /**
     * 班级上课记录对象
     */
    private TeachingClassesRecord teachingClassesRecord;

    /**
     * 学生报课对象
     */
    private TeachingStudentApply teachingStudentApply;

    /**
     * 班级对象
     */
    private TeachingClasses teachingClasses;

    public TeachingClasses getTeachingClasses() {
        return teachingClasses;
    }

    public void setTeachingClasses(TeachingClasses teachingClasses) {
        this.teachingClasses = teachingClasses;
    }

    public TeachingStudentApply getTeachingStudentApply() {
        return teachingStudentApply;
    }

    public void setTeachingStudentApply(TeachingStudentApply teachingStudentApply) {
        this.teachingStudentApply = teachingStudentApply;
    }

    public TeachingClassesRecord getTeachingClassesRecord() {
        return teachingClassesRecord;
    }

    public void setTeachingClassesRecord(TeachingClassesRecord teachingClassesRecord) {
        this.teachingClassesRecord = teachingClassesRecord;
    }

    public Long getClaRecordId() {
        return claRecordId;
    }

    public void setClaRecordId(Long claRecordId) {
        this.claRecordId = claRecordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Long getRecordId() {
        return recordId;
    }

    public Long getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public void setClassStudentId(Long classStudentId) {
        this.classStudentId = classStudentId;
    }

    public Long getClassStudentId() {
        return classStudentId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getClassId() {
        return classId;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    public void setLessonConsume(Long lessonConsume) {
        this.lessonConsume = lessonConsume;
    }

    public Long getLessonConsume() {
        return lessonConsume;
    }

    public void setLeaveCount(Long leaveCount) {
        this.leaveCount = leaveCount;
    }

    public Long getLeaveCount() {
        return leaveCount;
    }

    public void setAttendCount(Long attendCount) {
        this.attendCount = attendCount;
    }

    public Long getAttendCount() {
        return attendCount;
    }

    public void setAttendStatus(String attendStatus) {
        this.attendStatus = attendStatus;
    }

    public String getAttendStatus() {
        return attendStatus;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getCreateId() {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("recordId", getRecordId())
                .append("classStudentId", getClassStudentId())
                .append("applyId", getApplyId())
                .append("classId", getClassId())
                .append("studentName", getStudentName())
                .append("className", getClassName())
                .append("lessonConsume", getLessonConsume())
                .append("leaveCount", getLeaveCount())
                .append("attendCount", getAttendCount())
                .append("attendStatus", getAttendStatus())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createId", getCreateId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("teachingClassesRecord",getTeachingClassesRecord())
                .append("teachingClasses",getTeachingClasses())
                .append("teachingStudentApply",getTeachingStudentApply())
                .toString();
    }
}
